<?php

final class Constants
{
    const ACCESS_LEVEL_ACCESS_DENIED           = 0;
    const ACCESS_LEVEL_VIEW                    = 10;
    const ACCESS_LEVEL_VIEW_EDIT               = 20;
    const ACCESS_LEVEL_VIEW_EDIT_CREATE        = 30;
    const ACCESS_LEVEL_VIEW_EDIT_CREATE_DELETE = 40;

    const EVENT_TEMPLATE_PRE_PARSE = 'event_template_pre_parse';
    const EVENT_PRE_DISPATCH = 'event_pre_dispatch';
    const EVENT_INIT_MENU = 'event_init_menu';

    const EVENT_VIEW_PRE_RENDER = 'event_view_pre_render';

    const SESSION_CURRENT_SITE = 'session_current_site';
    const SESSION_PREVIOUS_REQUEST = 'session_previous_request';
    const SESSION_USER = 'session_user';
}